package com.aizuda.boot.modules.common.constant.enums;

/**
 * 查询类型（0-全部合同，1-我的合同，2-我的草稿）
 */
public enum QueryType {
    ALL(0,"ALL"),
    MY(1,"MY"),
    DRAFT(2,"DRAFT");

    final String description;
    final Integer code;

    QueryType(Integer code,String description) {
        this.description = description;
        this.code = code;
    }

    public String getDescription() {
        return description;
    }
    public Integer getCode() {
        return code;
    }
}